﻿{% load static %}
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="{% static 'login/img/333.jpg' %}">

    <title>修改密码</title>

    <!-- Bootstrap core CSS -->  
    <!-- Bootstrap 核心CSS文件 -->
    <link href="{% static 'login/css/bootstrap.min.css' %}" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="../../assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="signin.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <!-- 注意：<script src="../../assets/js/ie-emulation-modes-warning.js"></script> -->

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
        body{
          background: url("{% static 'login/img/111.jpg' %}")  no-repeat center;
          background-size: cover;
        }
        .title_1{
            text-align: center;
            color: #337ab7;
            font-size: 40px;
            display: inline-block;    
            margin: 120px auto;
        }
        .fa{display: inline-block;
            top: 27px;
            left: 6px;
            position: relative;color: #ccc;
        }
    </style>
  </head>

  <body>

    <div class="container">
      <div class="row">
        <div class="col-md-4">
          
        </div>
        <div class="col-md-4">
          
        
      <form class="form-signin" action="{% url 'login:ch_pwd_yunsuan' %}" method="post">
        {% csrf_token %}
        <span class="form-signin-heading title_1">登录系统</span>
        <h3 class="form-signin-heading">修改密码</h3>
        <div class="checkbox">
            {% if message %}
              <h4>{{message}}</h4>
            {% endif %}
        </div>
        <label for="inputName" class="sr-only">账号：</label>
        <input type="text" name="username" id="inputName" class="form-control" placeholder="账号" required autofocus>
        <i class="fa fa-user fa-lg"></i>
        <label for="inputPassword" class="sr-only">密码：</label>
        <input type="password" name="password" id="inputPassword" class="form-control" placeholder="密码" required>
        <i class="fa fa-user fa-lg"></i>
        <input type="password" id="new_password" name="password" class="form-control" placeholder="新密码" required>
        <i class="fa fa-user fa-lg"></i>
        <input type="password" id="new_password" name="password" class="form-control" placeholder="再次输入密码">
        <i class="fa fa-user fa-lg"></i>
        <button class="btn btn-lg btn-primary btn-block" type="submit">提交</button>
      </form>

    </div>
    <div class="col-md-4">
          
        </div>
    </div>
    </div> <!-- /container -->
    <!-- 引用的样式部分，不属于内容： -->
    <!-- jquery部分： -->
    <script type="text/javascript" src="{% static 'login/js/jquery-3.3.1.min.js' %}"></script>
    <!-- Bootstrap部分： -->
    <script type="text/javascript" src="{% static 'login/js/bootstrap.min.js' %}"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <!-- 注意：<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script> -->
  </body>
</html>